package app.model;

import java.util.List;

public class MailAccount {
	
	private String username="";
	private String password="";
	private String email="";
	private String inmail="";
	private String outmail="";
	private String inprotocol="";
	private String outprotocol="";
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getInmail() {
		return inmail;
	}
	public void setInmail(String inmail) {
		this.inmail = inmail;
	}
	public String getOutmail() {
		return outmail;
	}
	public void setOutmail(String outmail) {
		this.outmail = outmail;
	}
	public String getProtocol() {
		return inprotocol;
	}
	public void setProtocol(String protocol) {
		this.inprotocol = protocol;
	}
	public List <MailAccount> MailAccounts;
	
	public List<MailAccount> getMailAccounts() {
		return MailAccounts;
	}
	public void setMailAccounts(List<MailAccount> mailAccounts) {
		MailAccounts = mailAccounts;
	}
	public void setAccountToMailAccounts(MailAccount mailAccount) {
		this.MailAccounts.add(mailAccount);
	}
	public String getOutprotocol() {
		return outprotocol;
	}
	public void setOutprotocol(String outprotocol) {
		this.outprotocol = outprotocol;
	}
}